package cn.xz.chess.pravidla;

import java.io.Serializable;

public class PGNHeaderData implements Serializable {

    private static final long serialVersionUID = -8930213337493051532L;

    public String mFileName;
    public String mWhite;
    public String mBlack;
    public String mEvent;
    public String mSite;
    public int mRound;
    public int mWhiteElo;
    public int mBlackElo;
    public int mResult;
    public int mYear;
    public int mMonth; // 1 .. 12
    public int mDay;   // 1 .. 31

    public PGNHeaderData(String fileName, String white, String black, String event, String site, int round, int whiteElo,
                         int blackElo, int result, int year, int month, int day) {
        mFileName = fileName;
        mWhite = white;
        mBlack = black;
        mEvent = event;
        mRound = round;
        mWhiteElo = whiteElo;
        mBlackElo = blackElo;
        mResult = result;
        mSite = site;
        mYear = year;
        mMonth = month;
        mDay = day;
    }

    public static final String[] RESULTS = {"*", "1-0", "0-1", "1/2-1/2"};
}
